
var Constants = {

	Locale: {
		DAY_NAMES: Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"),
		FIELD_CANNOT_BE_EMPTY: "{1} cannot be empty, please fill it in",
		MUST_SELECT_OPTION: "You must select one {1}",
		USERNAME_ILLEGAL_CHARS: "{1} can only have letters, numbers, or the following characters: .-_",
		USERNAME_START_WITH_LETTER: "{1} must start with a letter",
		PASSWORD_CANNOT_HAVE_SPACES: "Passwords cannot begin or end with spaces",
		PASSWORDS_DONT_MATCH: "Passwords do not match",
		FIELD_MUST_HAVE_MIN_LENGTH: "{1} must have at least {2} characters",
		FIELD_MUST_HAVE_ONLY_LETTERS: "{1} can only have letters",
		NEW_PASSWORD_MUST_BE_DIFFERENT: "New password must be different from the old one",
		FORM_UNSAVED_CHANGES_MSG: "You have unsaved changes in this form. Please press the \"save\" button below to avoid losing them"
	},

	UI: {
		BODY_BG_COLOR: "#EAE9E6",
		COLOR_WHITE: "#FFFFFF",
		COLOR_GREEN: "#E1EDD1",
		COLOR_BLUE: "#DCE6F4",
		COLOR_RED: "#F1D8E9",
		FRAMESET_TOP_PANE_HEIGHT: 25,
		FRAMESET_BOTTOM_PANE_HEIGHT: 20,
		FORM_FIELD_INFO_WIDTH: 150,
		FORM_FIELD_INFO_TOP_SHIFT: -5,
		FORM_FIELD_INFO_LEFT_SHIFT: 5,
		FORM_UNSAVED_LAYER_WIDTH: 195,
		FORM_UNSAVED_LAYER_TOP_SHIFT: -5,
		WG_TYPE_DIALOG: "dialog-box",
		WG_TYPE_OVERLAY: "overlay",
		WG_TYPE_MENU: "menu",
		WG_TYPE_MENU_OPTION: "menu-option",
		WG_TYPE_BUTTON_MENU: "button-menu",
		WG_MENU_PADDING: 12, // Note: includes left and right pixels
		WG_MENU_ICON_WIDTH: 10,
		WG_MENU_SEPARATOR_BORDER: "1px solid #666666",
		WG_DIALOG_CONTAINER_PADDING: 15,
		WG_BUTTON_MENU_WIDTH: 26,
		PROGRESS_IMG_WIDTH: 26,
		PROGRESS_IMG_HEIGHT: 26
	},
	
	Other: {
		VAL_PASSWORD_MAX_LENGTH: 6
	}
};

